package cate.game.role.show.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBBlog;
import cate.game.role.show.ShowItemBase;
import easy.java.dev.note.NoteField;


@ClientMsg(title = "玩家饰品数据 の 更新")
public class ActiveDecorationResp implements MsgOutput {

    @NoteField("饰品类型")
    public byte type;

    @NoteField("玩家饰品数据")
    public ShowItemBase item;

    @NoteField("激活道具的tid")
    public int activeTid;

    public ActiveDecorationResp() {
    }

    public ActiveDecorationResp(byte type, ShowItemBase item) {
        this.type = type;
        this.item = item;
    }

    public ActiveDecorationResp(byte type, ShowItemBase item, int activeTid) {
        this.type = type;
        this.item = item;
        this.activeTid = activeTid;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBBlog.ACTIVE_DECORATION_RESP;
    }
}
